// Copyright 2013 Google Inc. All Rights Reserved.
//
// The terminator of ctors, dtors, and eh_frame. All shared objects
// and executables should link this as the last object.
//

#include <stdint.h>

// Include ctors and dtors.
typedef void (*structor_fn)(void);

#ifndef CRT_SO
__attribute__ ((section (".preinit_array")))
structor_fn __PREINIT_END__[] = { (void (*)(void)) 0};
#endif

__attribute__ ((section (".init_array")))
structor_fn __INIT_END__[] = { (void (*)(void)) 0};

__attribute__ ((section (".fini_array")))
structor_fn __FINI_END__[] = { (void (*)(void)) 0};

__attribute__((used, section(".ctors")))
static void (*const __CTOR_END__[1])(void) = { 0 };
__attribute__((used, section(".dtors")))
static void (*const __DTOR_END__[1])(void) = { 0 };
__attribute__ ((used, section (".eh_frame")))
static const uint32_t __FRAME_END__[1] = { 0 };
